package com.xiongtian.springframework.context;

import java.util.EventListener;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-14  09:28
 * @Version: 1.0
 * @Description: 事件监听器
 */

public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {


    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);
}
